home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr13
/
golisp.zip
/
DLL.LSP
< prev
next >
Wrap
Lisp/Scheme
|
1995-01-20
|
300b
|
11 lines
; Delete ALL entities on specified layer
; Bob Zelna
(defun C:DLL (/ L S)
(setq L (cdr (assoc 8 (entget (car (entsel"\nPick layer to delete? "))))))
(setq S (ssget "X" (list (cons 8 L)))) ;Get all entities on layer
(command ".ERASE" S "") ; Delete 'em!
)